﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class CRM_DPlanCheckDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class CRM_DPlanCheckRequestDto
    {
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "plan_date")]
        public string plan_date { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "plan_no")]
        public string plan_no { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<CRM_DPlanCheckRequestData> data { get; set; }       
    }
    public class CRM_DPlanCheckRequestData
    {
        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shipment_rowid")]
        public string shipment_rowid { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "saleorder_qty")]
        public double? saleorder_qty { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ship_qty")]
        public double? ship_qty { get; set; }       
    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class CRM_DPlanCheckResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }



        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }     
    }

}
